package org.lc.platform.base.enums;

import lombok.Getter;

/**
 * @author lc
 * @ClassName: ResultCodeEnum
 * @Description: 自定义返回码枚举
 */
@Getter
public enum ResultCodeEnum {

    /**
     * 成功
     */
    SUCCESS(40000, "操作成功"),

    /**
     * 失败
     */
    FAILED(40001, "操作失败");
    public final int code;

    public final String msg;

    ResultCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
